﻿using System;
using System.Globalization;
using System.Threading;
using System.Windows.Forms;
using TestCenter.Forms;

namespace TestCenter
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            Thread.CurrentThread.CurrentUICulture = new CultureInfo(Properties.Settings.Default.Language);

            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            if (Global.FrmLogin == null || Global.FrmLogin.IsDisposed)
                Global.FrmLogin = new FormLogin();
            Application.Run(Global.FrmLogin);
        }
    }
}
